#!/usr/bin/env python
# -*- coding:utf-8 -*-

from django.urls import path, include
from api.views import UserView, GroupViewSet
from rest_framework import routers

router = routers.DefaultRouter()
router.register(r'group', GroupViewSet)

urlpatterns = [
    path('users/', UserView.as_view()),

    path(r'', include(router.urls)),
]

app_name = "api"
